<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
        .school{
            float: left;
        }
        .index{
            float: right;
        }
        .cloud{
            width: 200px;
            border: 1px solid red;
        }
        li{
            overflow: hidden;
        }
    </style>
</head>
<body>
<div class="cloud">
    <ol>
        <li>
            <span class="school">北京大学</span>
            <span class="index">7654</span>
        </li>
        <li>
            <span class="school">北京大学</span>
            <span class="index">7654</span>
        </li>
    </ol>
</div>
</body>
</html>